package com.server.questionbank.snframe.domain.Homework;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.questionbank.snframe.domain.Course.Chapter.TChapter;
import com.server.questionbank.snframe.domain.Course.TCourse;
import com.server.questionbank.snframe.domain.QuestionBank.Knowledge;
import com.server.questionbank.snframe.domain.QuestionBank.Question;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("T_exercises")
public class TExercises {
    @TableId(type = IdType.AUTO)
    private Long exercisesId;
    private Long chapterId;
    private Long courseId;
    private String title;
    private String questionStem;
    private String exerciseType;
    private Integer difficulty;
    private String difficultyText;
    private String topicStatus;
    private Long accuracy;
    private Long challengeNum;
    private String forPractice;
    private String forTest;
    private String dataType;
    private Long createBy;
    private String createDate;
    private Boolean isPublic;
    private Long updateBy;
    private String updateDate;
    private String eleRemark;
    private List<Question> questions;
    private List<Knowledge> knowledges;
    private TCourse courseInfo;
    private TChapter chapterInfo;
}
